home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / Apple Guide / Engineering / Context Check Modules / IsNamedWindowsRect CC / Read Me next >
Encoding:
Text File  |  1994-04-20  |  1.1 KB  |  32 lines  |  [TEXT/MPS ]

  1. WindowRect    External Module
  2. Release Notes
  3.  
  4. 1.0d1    4/16/94    Josh Jacobs
  5.  
  6. First release of the context check. The syntax is simple, the first parameter is a rectangle, 
  7. the second a pstring with the name of the window to check against. Since Nevada does not support rects 
  8. as a parameter the DCC should contain 4 shorts in the order TOP, LEFT, BOTTOM, RIGHT. The pstring 
  9. parameter is either "Front" or the name of the window you want to test. The following is 
  10. an example of possible DCC statements.
  11.  
  12. <DCC>    "IsFrontWindowsRect",'WRCT', 'MACS', short, short, short, short, pstring:"Front"
  13. <DCC>    "IsGXPrintOptionsListVisible",'WRCT', 'ttxt', short:0 , short:0, short:240, short:200, pstring:"Print"
  14.  
  15. these might then be used as such:
  16.  
  17. <Panel>    "First"
  18.     <If>    IsFrontWindowsRect(0,0,150,360)
  19.         <Panel>    "Second"
  20.  
  21. <Panel>    "First"
  22.     <If>    IsGXPrintOptionsListVisible()
  23.         <Panel>    "Second"
  24.  
  25. 1.0d2    4/20/94    Josh Jacobs    
  26. Second release of the context check. Added a new debug version of the check that allows authors to hold 
  27. down the shift key and have the rect of the front window be displayed in the debugger. MAKE SURE THIS DOES
  28. NOT SHIP!